import request from '@/utils/request'

// 查询公益活动列表
export function listProld9(query) {
  return request({
    url: '/project/prold9/list',
    method: 'get',
    params: query
  })
}

// 查询公益活动详细
export function getProld9(id) {
  return request({
    url: '/project/prold9/' + id,
    method: 'get'
  })
}

// 新增公益活动
export function addProld9(data) {
  return request({
    url: '/project/prold9',
    method: 'post',
    data: data
  })
}

// 修改公益活动
export function updateProld9(data) {
  return request({
    url: '/project/prold9',
    method: 'put',
    data: data
  })
}

// 删除公益活动
export function delProld9(id) {
  return request({
    url: '/project/prold9/' + id,
    method: 'delete'
  })
}
